package com.hyh.search.service;


import com.hyh.search.result.PageResult;

public interface ProductService {
    PageResult selectAllProduct();

    PageResult getSuggestion(String key);

    PageResult search(String key, Integer page, Integer size);

    PageResult searchAll(Integer page, Integer size);

    PageResult searchByPrice(String key, Integer page, Integer size, Integer min, Integer max);
}
